home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / cmds.fmt / expand.man < prev    next >
Encoding:
Text File  |  1990-04-17  |  1.4 KB  |  67 lines

  1.  
  2.  
  3.  
  4. EXPAND                    User Commands                    EXPAND
  5.  
  6.  
  7.  
  8. NNAAMMEE
  9.      expand, unexpand - expand tabs to spaces, and vice versa
  10.  
  11. SSYYNNOOPPSSIISS
  12.      eexxppaanndd [ -tabstop ] [ -tab1,tab2,...,tabn ] [ file ...  ]
  13.      uunneexxppaanndd [ --aa ] [ file ...  ]
  14.  
  15. DDEESSCCRRIIPPTTIIOONN
  16.      _E_x_p_a_n_d processes the named files or the standard input writ-
  17.      ing the standard output with tabs changed into blanks.
  18.      Backspace characters are preserved into the output and
  19.      decrement the column count for tab calculations.  _E_x_p_a_n_d is
  20.      useful for pre-processing character files (before sorting,
  21.      looking at specific columns, etc.) that contain tabs.
  22.  
  23.      If a single _t_a_b_s_t_o_p argument is given, then tabs are set
  24.      _t_a_b_s_t_o_p spaces apart instead of the default 8.  If multiple
  25.      tabstops are given then the tabs are set at those specific
  26.      columns.
  27.  
  28.      _U_n_e_x_p_a_n_d puts tabs back into the data from the standard
  29.      input or the named files and writes the result on the stan-
  30.      dard output.  By default, only leading blanks and tabs are
  31.      reconverted to maximal strings of tabs.  If the --aa option is
  32.      given, then tabs are inserted whenever they would compress
  33.      the resultant file by replacing two or more characters.
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Sprite v1.0                May 9, 1986                          1
  64.  
  65.  
  66.  
  67.